package com.be.beadmin.quality.dto.output;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class CabinetQualityExcelEx {

    @ExcelProperty("项目编码")
    private String projectCode;
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("工单编号")
    private String wo;
    @ExcelProperty("批次号")
    private String batchPlanId;
    @ExcelProperty("柜体编码")
    private String productCode;
    @ExcelProperty("接线错误数量")
    private Integer errorLineCount;
    @ExcelProperty("接线总数量")
    private Integer lineCount;
    @ExcelProperty("填报时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd kk:mm",
            timezone = "GMT+8"
    )
    private Date inspectTime;
    @ExcelProperty("创建人")
    private String createName;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;



//    @ExcelProperty("计划编码")
//    private String batchPlanCode;
//    @ExcelProperty("批次总数")
//    private Integer batchCount;
//    @ExcelProperty("当前批次")
//    private Integer currentBatch;
//    @ExcelProperty("检验员")
//    private String inspector;
//    @ExcelProperty("柜体别名")
//    private String productName;
//    @ExcelProperty("备注")
//    private String memo;

}
